<template>
    <view class="homePage">
        <swiper>
            <swiper-item v-for="item in indexImg" :key="item.seq">
                <image :src="item.imgUrl"></image>
            </swiper-item>
        </swiper>
    </view>
</template>

<script>
import {getTagList,getIndexImgs} from '@/services/index';

export default {
    data () {
        return {
            indexImg:[]
        }
    },
    async created(){
        let tagList = await getTagList();
        let indexImg = await getIndexImgs();
        console.log(indexImg);
        this.indexImg = indexImg
    }
}
</script>

<style lang="scss" scoped>

</style>
